# -*- encoding=utf8 -*-
__author__ = "Admin"

from airtest.core.api import *
from airtest.cli.parser import cli_setup

if not cli_setup():
    auto_setup(__file__, logdir=True, devices=["android://127.0.0.1:5037/emulator-5554?",])


# script content
print("start...")


# generate html reports
# from airtest.reports.reports import simple_report
# simple_report(__file__, logpath=True)
touch(Template(r"tpl1761726734281.png", record_pos=(0.122, -0.529), resolution=(900, 1600)))
sleep(3.0)
touch(Template(r"tpl1761726748130.png", record_pos=(-0.112, -0.529), resolution=(900, 1600)))
touch(Template(r"tpl1761726769101.png", record_pos=(-0.142, -0.269), resolution=(900, 1600)))
touch(Template(r"tpl1761738633453.png", record_pos=(-0.278, -0.07), resolution=(900, 1600)))
text("17550010261")
sleep(1.0)
touch(Template(r"tpl1761726793169.png", record_pos=(-0.253, -0.061), resolution=(900, 1600)))
text("a12345678")
touch(Template(r"tpl1761726806522.png", record_pos=(-0.288, 0.792), resolution=(900, 1600)))
touch(Template(r"tpl1761726810478.png", record_pos=(0.022, 0.163), resolution=(900, 1600)))














